package com.swt.draw.dao;

import com.swt.draw.entity.Limit;
import com.swt.draw.example.LimitExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface LimitMapper {
    long countByExample(LimitExample example);

    int deleteByExample(LimitExample example);

    int deleteByPrimaryKey(String limitNo);

    int insert(Limit record);

    int insertSelective(Limit record);

    List<Limit> selectByExample(LimitExample example);

    Limit selectByPrimaryKey(String limitNo);

    int updateByExampleSelective(@Param("record") Limit record, @Param("example") LimitExample example);

    int updateByExample(@Param("record") Limit record, @Param("example") LimitExample example);

    int updateByPrimaryKeySelective(Limit record);

    int updateByPrimaryKey(Limit record);

    /*分页查询*/
    List<Limit> getLimitList(Integer start, Integer end);
}
